package com.ruoyi.mateproduction.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.ruoyi.common.annotation.Excel;

import java.util.Date;
import java.util.List;

/**
 * @Author
 * @Version 1.0
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class MateReturn {
    private Long mateReturnId;//退料单主键id
    private Long deptId;
    private String mateReturnOrderNum;//退货单编号
    private String deptName;//负责人
    private String returnName;//退料人
    private String warehousingName;//接收人
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date creatTime;
    private String beginTime;
    private String endTime;
    private String mateReturnStatus;//状态

    private List<MateReturnModel> mateReturnModels;

    public List<MateReturnModel> getMateReturnModels() {
        return mateReturnModels;
    }

    public void setMateReturnModels(List<MateReturnModel> mateReturnModels) {
        this.mateReturnModels = mateReturnModels;
    }

    public Long getMateReturnId() {
        return mateReturnId;
    }

    public void setMateReturnId(Long mateReturnId) {
        this.mateReturnId = mateReturnId;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public String getMateReturnOrderNum() {
        return mateReturnOrderNum;
    }

    public void setMateReturnOrderNum(String mateReturnOrderNum) {
        this.mateReturnOrderNum = mateReturnOrderNum;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getReturnName() {
        return returnName;
    }

    public void setReturnName(String returnName) {
        this.returnName = returnName;
    }

    public String getWarehousingName() {
        return warehousingName;
    }

    public void setWarehousingName(String warehousingName) {
        this.warehousingName = warehousingName;
    }

    public Date getCreatTime() {
        return creatTime;
    }

    public void setCreatTime(Date creatTime) {
        this.creatTime = creatTime;
    }

    public String getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(String beginTime) {
        this.beginTime = beginTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getMateReturnStatus() {
        return mateReturnStatus;
    }

    public void setMateReturnStatus(String mateReturnStatus) {
        this.mateReturnStatus = mateReturnStatus;
    }
}
